package com.ls.lserp.dbaccess.Dao;

import java.util.List;

import com.ls.lserp.common.persistence.CrudDao;
import com.ls.lserp.common.persistence.annotation.MyBatisDao;
import com.ls.lserp.modules.order.entity.StyleCostEntity;

@MyBatisDao
public interface StyleCostEntityMapper extends CrudDao<StyleCostEntity> {
	int deleteByPrimaryKey(Long costId);

	int insert(StyleCostEntity record);

	int insertSelective(StyleCostEntity record);

	StyleCostEntity selectByPrimaryKey(Long costId);

	int updateByPrimaryKeySelective(StyleCostEntity record);

	int updateByPrimaryKeyWithBLOBs(StyleCostEntity record);

	int updateByPrimaryKey(StyleCostEntity record);

	List<StyleCostEntity> findListByStyleId(Long styleId);

	int insertData(StyleCostEntity entity);
	
	int insertList(List<StyleCostEntity> list);
}